Integrand size = 12, antiderivative size = 31 \[ \int x \sinh ^2\left (a+b x^2\right ) \, dx=-\frac {x^2}{4}+\frac {\cosh \left (a+b x^2\right ) \sinh \left (a+b x^2\right )}{4 b} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {5428, 2715, 8} \[ \int x \sinh ^2\left (a+b x^2\right ) \, dx=\frac {\sinh \left (a+b x^2\right ) \cosh \left (a+b x^2\right )}{4 b}-\frac {x^2}{4} \]
[In]
[Out]
Rule 8
Rule 2715
Rule 5428
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} \text {Subst}\left (\int \sinh ^2(a+b x) \, dx,x,x^2\right ) \\ & = \frac {\cosh \left (a+b x^2\right ) \sinh \left (a+b x^2\right )}{4 b}-\frac {1}{4} \text {Subst}\left (\int 1 \, dx,x,x^2\right ) \\ & = -\frac {x^2}{4}+\frac {\cosh \left (a+b x^2\right ) \sinh \left (a+b x^2\right )}{4 b} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.87 \[ \int x \sinh ^2\left (a+b x^2\right ) \, dx=\frac {-2 \left (a+b x^2\right )+\sinh \left (2 \left (a+b x^2\right )\right )}{8 b} \]
[In]
[Out]
Time = 0.60 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.10
method | result | size |
derivativedivides | \(\frac {\frac {\cosh \left (x^{2} b +a \right ) \sinh \left (x^{2} b +a \right )}{2}-\frac {x^{2} b}{2}-\frac {a}{2}}{2 b}\) | \(34\) |
default | \(\frac {\frac {\cosh \left (x^{2} b +a \right ) \sinh \left (x^{2} b +a \right )}{2}-\frac {x^{2} b}{2}-\frac {a}{2}}{2 b}\) | \(34\) |
risch | \(-\frac {x^{2}}{4}+\frac {{\mathrm e}^{2 x^{2} b +2 a}}{16 b}-\frac {{\mathrm e}^{-2 x^{2} b -2 a}}{16 b}\) | \(39\) |
parallelrisch | \(\frac {2 \ln \left (1-\tanh \left (\frac {x^{2} b}{2}+\frac {a}{2}\right )\right )-2 \ln \left (\tanh \left (\frac {x^{2} b}{2}+\frac {a}{2}\right )+1\right )+\sinh \left (2 x^{2} b +2 a \right )}{8 b}\) | \(52\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.94 \[ \int x \sinh ^2\left (a+b x^2\right ) \, dx=-\frac {b x^{2} - \cosh \left (b x^{2} + a\right ) \sinh \left (b x^{2} + a\right )}{4 \, b} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 60 vs. \(2 (24) = 48\).
Time = 0.11 (sec) , antiderivative size = 60, normalized size of antiderivative = 1.94 \[ \int x \sinh ^2\left (a+b x^2\right ) \, dx=\begin {cases} \frac {x^{2} \sinh ^{2}{\left (a + b x^{2} \right )}}{4} - \frac {x^{2} \cosh ^{2}{\left (a + b x^{2} \right )}}{4} + \frac {\sinh {\left (a + b x^{2} \right )} \cosh {\left (a + b x^{2} \right )}}{4 b} & \text {for}\: b \neq 0 \\\frac {x^{2} \sinh ^{2}{\left (a \right )}}{2} & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.23 \[ \int x \sinh ^2\left (a+b x^2\right ) \, dx=-\frac {1}{4} \, x^{2} + \frac {e^{\left (2 \, b x^{2} + 2 \, a\right )}}{16 \, b} - \frac {e^{\left (-2 \, b x^{2} - 2 \, a\right )}}{16 \, b} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 56 vs. \(2 (27) = 54\).
Time = 0.29 (sec) , antiderivative size = 56, normalized size of antiderivative = 1.81 \[ \int x \sinh ^2\left (a+b x^2\right ) \, dx=-\frac {4 \, b x^{2} - {\left (2 \, e^{\left (2 \, b x^{2} + 2 \, a\right )} - 1\right )} e^{\left (-2 \, b x^{2} - 2 \, a\right )} + 4 \, a - e^{\left (2 \, b x^{2} + 2 \, a\right )}}{16 \, b} \]
[In]
[Out]
Time = 1.09 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.71 \[ \int x \sinh ^2\left (a+b x^2\right ) \, dx=\frac {\mathrm {sinh}\left (2\,b\,x^2+2\,a\right )}{8\,b}-\frac {x^2}{4} \]
[In]
[Out]